using System;
using System.Collections.Generic;
using System.Text;
using AF_ORM.CORE;
namespace Bussiness.Entity
{
                

     public class CmsPartnersEntity:AF_ORM.CORE.BaseEntity
    {
         public CmsPartnersEntity()
         {
             tableName = "CmsPartners";


			 fieldInfos.Add(new FieldInfo("CmsPartners","Id","Id","Guid",0,true,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("CmsPartners","Photo","Photo","string",512,false,true,true,false,"","",""));
         }
       //properties
                    
		 protected Guid m_Id;
		 protected string m_Photo;

		 public Guid Id

          { 
                get { 
                    return m_Id;}

                set{m_Id=value;

                    GetField("Id").Set();
                    GetField("Id").IsNull=(value == null);           
                    }
          }
		 public string Photo

          { 
                get { 
                    return m_Photo;}

                set{m_Photo=value;

                    GetField("Photo").Set();
                    GetField("Photo").IsNull=(value == null);           
                    }
          }

}
}
